home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11684 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  746 b 

  1. Path: newsroom.hitc.com!kfreeman
  2. From: kfreeman@mandrake.HITC.COM (Keith Freeman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] Template instantiation
  5. Date: 15 Mar 1996 17:32:06 GMT
  6. Organization: Hughes Team (EOSDIS)
  7. Message-ID: <KFREEMAN.96Mar15123206@mandrake.HITC.COM>
  8. References: <37116784wnr@parkbayl.demon.co.uk>
  9. NNTP-Posting-Host: mandrake.hitc.com
  10. In-reply-to: Martin Bayly's message of Fri, 01 Mar 1996 12:14:50 GMT
  11.  
  12. > Queue<Node<int>> myQueue;        // Crazy as it may seem 
  13. >                 // this doesn't work
  14.  
  15. Without actually compiling, I'm pretty sure you need to separate the
  16. '>' symbols:
  17.  
  18. Queue< Node<int> > myQueue;
  19.  
  20. The compiler sees the >> as the stream extraction operator (maximum
  21. munch and all that).
  22.  
  23. keith freeman
  24. kfreeman@eos.hitc.com
  25.